<div class="createBox addmarginB20">
    <div class="batchNum">
        <p class="remmarginB fnt-size18 font-opensansbd">Batch <span class="createdVenueBatchCount create_venue_0_batchcounter" id="create_venue_0_batch_counter_0">1</span><em class="sprite dw-arrow"></em></p>
    </div>
    <div class="content">
        <div class="padding20px rempaddingT">   
            <div class="height1px dash-borB remmarginB addmarginB20"></div>                    	
            <div class="formElements">
                <div class="col-2">
                    <div class="common">
                        <div class="colbatch col1">
                            <div class="dob flatui">
                                <?php echo $form->labelEx($model, 'start_date'); ?>
                                <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_START_DATE; ?>">&nbsp;</em>
                                <div class="clear"></div>
                                <input type="hidden" name="batchIndex[0][]" value="0">                              
                                <input  name="ClassBatch[ClassVenue][0][start_date][]" id="class_venue_0_classbatch_start_date_0" type="text" class="requiredfield hasDatepicker field  small" onblur="checkValueEmpty(this.id)" onkeyup="hasDatepicker(this.id)" onclick="hasDatepicker(this.id)" onpaste="return false;">
                                <div class="errorMessage" id="error_class_venue_0_classbatch_start_date_0" style="display:none">Start date cannot be blank.</div>
                            </div>
                        </div>

                        <div class="colbatch col2">
                            <div class="timef flatui">
                                <?php echo $form->labelEx($model, 'start_time'); ?>
                                <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_START_TIME; ?>">&nbsp;</em>
                                <div class="clear"></div>
                                <div class="bootstrap-timepicker"><input  name="ClassBatch[ClassVenue][0][start_time][]" id="class_venue_0_classbatch_start_time_0" type="text" class="requiredfield hastimePicker field small" onpaste="return false;" onkeyup="hastimePicker(this.id);" onclick="hastimePicker(this.id);" onchange="timeCheck(this.id);">
                                    <div class="errorMessage" id="error_class_venue_0_classbatch_start_time_0" style="display:none">Start time cannot be blank.</div></div>
                            </div>
                        </div> 

                        <div class="colbatch col2">
                            <div class="timef flatui">
                                <?php echo $form->labelEx($model, 'end_time'); ?>
                                <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_END_TIME; ?>">&nbsp;</em>
                                <div class="clear"></div>                              
                                <div class="bootstrap-timepicker"><input  name="ClassBatch[ClassVenue][0][end_time][]" id="class_venue_0_classbatch_end_time_0" type="text" class="hastimePicker requiredfield field small" onpaste="return false;"  onkeyup="hastimePicker(this.id);" onclick="hastimePicker(this.id);" onchange="timeCheck(this.id);">
                                    <div class="errorMessage" id="error_class_venue_0_classbatch_end_time_0" style="display:none">End time cannot be blank.</div>
                                    <div class="errorMessage" id="endTime_class_venue_0_classbatch_end_time_0"></div></div>
                            </div>
                        </div> 
                        <div class="clear"></div>
                    </div>

                    <div class="common">
                        <div class="col col1">
                            <?php echo $form->labelEx($model, 'price'); ?>
                            <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_PRICE; ?>">&nbsp;</em>
                            <div class="clear"></div>
                            <input  name="ClassBatch[ClassVenue][0][price][]" id="class_venue_0_classbatch_price_0" type="text" onkeypress="return isNumberKey(event)" onblur="checkValueEmpty(this.id)"class="requiredfield field" >
                            <div class="errorMessage" id="error_class_venue_0_classbatch_price_0" style="display:none">Price cannot be blank.</div>
                        </div>

                        <div class="col col2">
                            <?php echo $form->labelEx($model, 'seats'); ?>
                            <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_SEATS; ?>">&nbsp;</em>
                            <div class="clear"></div>
                            <input  name="ClassBatch[ClassVenue][0][seats][]" id="class_venue_0_classbatch_seats_0" type="text"  onblur="checkValueEmpty(this.id)" onkeypress="return isNumberKey(event)" class="requiredfield field">
                            <div class="errorMessage" id="error_class_venue_0_classbatch_seats_0" style="display:none">Seats cannot be blank.</div>
                        </div>                         
                        <div class="clear"></div>
                    </div>

                    <div class="greenBor">
                        <p class="padding20px remmarginB font-opensansbd fnt-size16">Batch Discounts</p>
                        <div class="dash-borB height1px"></div>
                        <div class="padding20px">
                            <?php /* .......................          Here is the early discount code start................ */ ?>
                            <div id="venue_0_batch_0_earlydiscount"></div>
                            <div class="common">
                                <p class="alignL remmarginB"><a href="javascript:void(0)" id="venue_0_batch_0_earlydiscount_0" onclick="addEarlyDiscount(this.id);">+ Add Early Discounts <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_EARLY_DISCOUNT; ?>">&nbsp;</em></a></p>
                            </div>
                            <?php /* .......................          Here is the early discount code end................ */ ?>

                            <div class="height1px borB addmarginB30 rempaddingB"></div> 
                            <?php /* .......................          Here is the group discount code start................ */ ?>
                            <div id="venue_0_batch_0_groupdiscount"></div>

                            <div class="common">
                                <p class="alignL remmarginB"><a href="javascript:void(0)" id="venue_0_batch_0_groupdiscount_0" onclick="addGroupDiscount(this.id);">+ Add Group Discounts <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_GROUP_DISCOUNT; ?>">&nbsp;</em></a></p>
                            </div>     
                            <?php /* .......................          Here is the group discount code end ................ */ ?>

                            <div class="height1px borB addmarginB30 rempaddingB"></div>
                            <?php /* .......................          Here is the custome session code start................ */ ?>
                            <div class="sm-col-2">    
                                <div class="common">
                                    <div class="col col1">
                                        <lavel>Add Session</lavel>
                                        <em class="sprite question-sign" title="<?php echo Message::CLASS_BATCH_CUSTOME_SCHEDULE; ?>">&nbsp;</em>
                                        <div class="clear"></div>
                                        <?php echo CHtml::dropDownList('ClassBatch[ClassVenue][0][schedule_id][]', '12', getAllSchedule('class'), array('class' => 'getschedule_venue_0_batch_0', 'id' => 'addvenue_0_batch_0_schedule_id_0', 'onchange' => 'addCustomeSchedule(this.id);')); ?>                                                                  </div>
                                    <div id="venue_0_batch_0_schedule"></div>
                                    <div class="showSession_venue_0_batch_0_schedule" style="clear: both; display: none;"><p class="alignL remmarginB"><a href="javascript:void(0)" id="venue_0_batch_0_schedule_id_0" onclick="addCustomeSchedule(this.id);">Add Session</a></p></div>
                                    <div class="clear"></div>
                                </div>
                            </div> 
                            <?php /* .......................         Here is the custome session code end................ */ ?>

                        </div>
                    </div>   
                    <div class="clear"></div>
                    <?php /* .......................         Here is the class structure code start................ */ ?>
                    <div class="greenBor" style="margin-top: 10px;">
                        <p class="padding20px remmarginB font-opensansbd fnt-size16">Class Structure <em class="sprite question-sign" title="<?php echo Message::CLASSES_STRUCTURE; ?>">&nbsp;</em></p>
                        <div class="dash-borB height1px addmarginB20"></div>
                        <?php $this->renderPartial('/classStructures/_classStructureform', array('form' => $form)); ?>  
                    </div>
                    <?php /* .......................         Here is the class structure code end................ */ ?>
                </div>

            </div> 
        </div>
    </div>                                
</div>  



